package com.szrt.java.day20170112.demo01;

import java.io.File;

import org.junit.Test;

public class FileTest {

	@Test
	public void fileTest(){
		
		// 2个斜杠  代表的是转文  \t \n \r \\ 反斜杠
		File file = new File("E:\\aa\\cc.txt");
		//File file = new File("E:/aa/cc.txt");
		
		System.out.println("E:\\aa\\cc.txt 是否一个文件："+file.isFile());
		
		File fileTest = new File("E:\\MyCore\\MyZSRTCore\\JavaSE170112\\demo01\\xxoo.mp4");
		
		fileTest.mkdirs();
		
	}
	
}
